package com.wn.ticket.mapper;

import com.wn.ticket.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author wuqingting
 * @date 2022/8/28
 */
@Repository
public interface CategoryMapper {
    List<Category> getAll();
    Category getById(int id);
}
